package day_240428.UML;

public class Test {
    public static void main(String[] args) {

        Cylinder cylinder = new Cylinder();

        cylinder.setLength(3);
        cylinder.setRadius(2);

        System.out.println("圆柱的体积为：" + cylinder.findVolume());

        System.out.println("圆柱的底面积：" + cylinder.findArea());
    }
}
